﻿using System;
using System.Collections.Generic;
using System.Text;
using GraphAPI;
using System.Windows.Forms;

namespace Deisctra
{
    public class DeisctrAlg : IAlgorithm
    {
        #region IAlgorithm Members

        public string Name
        {
            get { return "Алгоритм Дейсктры"; }
        }

        public string Description
        {
            get { return "Поиск пути"; }
        }

        public string Category
        {
            get { return "Поиск пути"; }
        }

        public Control Use(GraphAPI.Model.Graph graph)
        {
            return new DeisctraControl(graph);
        }

        #endregion
    }
}
